<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="com.demo.SessionStore" %>
    <%@ page import="com.bean.Tie" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>查看帖内容</title>
<!-- 新 Bootstrap 核心 CSS 文件 -->
  <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

  <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

  <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
  <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
  <style type="text/css">
  	.lookTie{
  		width:500px;
  		height:500px;
  		border:1px solid #000000;
  		border-radius:50px;
  		box-shadow:10px 10px 5px #000000;
  		margin-left:200px;
  		margin-top:20px;	
  	}
  	table{
  		margin-left:100px;
  		margin-top:100px;
  		margin-right:200px;
  	}
  	body{
  		background-image:url("./images/myTie1.jpg");
  		background-repeat:no-repeat;
  		background-size:cover;
  	}
  </style>
</head>
<body>
	<div class="page-header" style="margin:0;padding:0">
    <h1>查看帖内容
        <small><a href='main.jsp'>返回首页</a></small>
    </h1>
	</div>
	<div class="lookTie">
		<table class="table">
			<tr>
				<td>标题</td>
				<td><%=((Tie)session.getAttribute(SessionStore.SESSION_MYTIE)).getTieTitle() %></td>
			</tr>
			<tr>
				<td>内容</td>
				<td><%=((Tie)session.getAttribute(SessionStore.SESSION_MYTIE)).getTieCont() %></td>
			</tr>
			<tr>
				<td>审核</td>
				<td><%=((Tie)session.getAttribute(SessionStore.SESSION_MYTIE)).getTieState() %></td>
			</tr>
			<tr>
				<td>日期</td>
				<td><%=((Tie)session.getAttribute(SessionStore.SESSION_MYTIE)).getTieDate() %></td>
			</tr>
		</table>
	</div>
</body>
</html>